<template>
  <div>
    <mt-swipe :auto="4000">
      <mt-swipe-item v-for="item in lunbotuList" :key="item.id">
        <img :src="item[imgname]" :class="[isfull ? 'imgfull' : 'fullimg']" />
      </mt-swipe-item>
    </mt-swipe>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {},
  props: ["lunbotuList", "imgname", "isfull"]
};
</script>
<style lang="scss" scoped>
.mint-swipe {
  height: 200px;
  .mint-swipe-item {
    text-align: center;
    .imgfull {
      width: 100%;
      height: 100%;
    }
    .fullimg {
      height: 100%;
    }
  }
}
</style>